﻿<!DOCTYPE html>

<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
    <title></title>
    <!--<link rel="stylesheet" href="https://appsforoffice.microsoft.com/fabric/1.0.1/fabric.min.css">
    <link rel="stylesheet" href="https://appsforoffice.microsoft.com/fabric/1.0.1/fabric.components.min.css">-->
</head>
<body>

    <div id="remoteClientConfig" class="ms-Callout ms-Callout--arrowLeft" style="position:relative;top:-15px; font-family: Segoe UI Light">
        <div class="ms-Callout-main" style="box-shadow: 0 0 0 0">
            <div class="ms-Callout-header">
                <p class="ms-Callout-title" style="font-weight: bold">Remote Client Configuration</p>
            </div>
            <div class="ms-Callout-inner">
                <div class="ms-Callout-content">
                    <p class="ms-Callout-subText">Configure a remote client in order to be managed via WMI/Powershell</p>
                    <hr>
                    <p class="ms-Callout-subText ms-font-m-plus"><strong>Powershell Configuration</strong></p>
                    </br>
                    <p class="ms-Callout-subText ms-font-m">Local Machine Configuration</p>
                    <ul style="list-style: none;">
                        <li class="ms-Callout-subText">1. Open an instance of Powershell as an administrator</li>
                        <li class="ms-Callout-subText">2. Run the command "Set-ExecutionPolicy Bypass"</li>
                    </ul>

                    <p class="ms-Callout-subText ms-font-m">Remote Machine Configuration</p>
                    <ul style="list-style: none;">
                        <li class="ms-Callout-subText">1. Open an instance of Powershell as an administrator</li>
                        <li class="ms-Callout-subText">2. Run the command "Set-ExecutionPolicy Bypass"</li>
                        <li class="ms-Callout-subText">3. Next, run the command "Enable-PSRemoting"</li>
                    </ul>
                    <br />

                    <p class="ms-Callout-subText ms-font-m-plus"><strong>WMI Configuration</strong></p>
                    <ul style="list-style: none;">
                        <li class="ms-Callout-subText">1.  Log into the remote computer and open command the prompt</li>
                        <li class="ms-Callout-subText">2.  Run the command "dcomcnfg"</li>
                        <li class="ms-Callout-subText">3.  In dcomconfig navigate to "Console Root > Computers >" right click "My Computer" then click "properties"</li>
                        <li class="ms-Callout-subText">4.  Click the "COM Security" tab</li>
                        <li class="ms-Callout-subText">5.  Under Access Permissions click "Edit Limits"</li>
                        <li class="ms-Callout-subText">6.  Add the username that will used to access the computer remotely</li>
                        <li class="ms-Callout-subText">7.  In the Permssions area click for the user you added make sure that the Remote Access permission is Allowed, click OK</li>
                        <li class="ms-Callout-subText">8.  Repeat steps 5 and 6 for "Launch and Activation Permissions"</li>
                        <li class="ms-Callout-subText">9.  In the Permissions area for the user you added make sure all permssions are allowed (Local Launch, Remote Launch, Local Activation, and Remote Activation), click OK</li>
                        <li class="ms-Callout-subText">10. In the "My Computer Properties" window click Apply then OK</li>
                        <li class="ms-Callout-subText">11. In the dcomcnfg window navigate to "Console Root > Computers > My Computer > DCOM Config" and right click on "Windows Management and Instrumentation" then click properties</li>
                        <li class="ms-Callout-subText">12. Click the "Security" tab</li>
                        <li class="ms-Callout-subText">13. Under "Launch and Activation Permissions" click edit</li>
                        <li class="ms-Callout-subText">14. Add the username that will used to access the computer remotely</li>
                        <li class="ms-Callout-subText">15. In the Permissions area for the user you added make sure all permssions are allowed (Local Launch, Remote Launch, Local Activation, and Remote Activation), click OK</li>
                        <li class="ms-Callout-subText">16. Under "Access Permissions" click the "Customize" radial button and then "Edit"</li>
                        <li class="ms-Callout-subText">17. Add the username that will used to access the computer remotely</li>
                        <li class="ms-Callout-subText">18. In the Permissions area for the user you added make sure that all permissions are allowed (Local Access, and Remote Access), click OK</li>
                        <li class="ms-Callout-subText">19. Under "Configuration Permissions" click edit</li>
                        <li class="ms-Callout-subText">20. Add the username that will used to access the computer remotely, click OK</li>
                        <li class="ms-Callout-subText">21. In the Windows Management and Instrumentation window click Apply then OK</li>
                        <li class="ms-Callout-subText">22. Close the dcomcnfg window</li>
                        <li class="ms-Callout-subText">23. Start Computer Management</li>
                        <li class="ms-Callout-subText">24. In Computer Management navigate to "Services and Applications" and right click on "WMI Control" then click properties</li>
                        <li class="ms-Callout-subText">25. In the WMI Control Properties window click the "Security" tab</li>
                        <li class="ms-Callout-subText">26. Click the "Root" folder then the Security button</li>
                        <li class="ms-Callout-subText">27. Add the username that will used to access the computer remotely</li>
                        <li class="ms-Callout-subText">28. In the Permissions area for the user you added make sure that all permissions are allowed (Execute Methods, Full Write, Partial Write, Provider Write, Enable Account, Remote Enable, Read Security, and Edit Security), click Apply then OK</li>
                        <li class="ms-Callout-subText">29. Expand the "Root" folder, then click the "CIMV2" folder and then the Security button. </li>
                        <li class="ms-Callout-subText">30. Repeat steps 27 and 28</li>
                        <li class="ms-Callout-subText">31. In the WMI Control Properties click OK</li>
                        <li class="ms-Callout-subText">32. Close the "Computer Managment" window</li>
                        <li class="ms-Callout-subText">33. Open the "Control Panel" and open "Windows Firewall"</li>
                        <li class="ms-Callout-subText">34. Click "Allow an app or feature through Windows Firewall"</li>
                        <li class="ms-Callout-subText">35. Click the checkbox next to "Windows Management Instrumentation (WMI)", click OK and close the "Windows Firewall" window </li>
                        <li class="ms-Callout-subText">36. Open regedit</li>
                        <li class="ms-Callout-subText">37. Navigate to either "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\Configuration" or "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\16.0\Configuration", depending on which key exists</li>
                        <li class="ms-Callout-subText">38. Right click on the key then click permissions</li>
                        <li class="ms-Callout-subText">39. Add the username that will used to access the computer remotely</li>
                        <li class="ms-Callout-subText">40. In the Permissions area for the user you added make sure that all permissions are allowed (Full Control and Read), click Apply then OK</li>
                        <li class="ms-Callout-subText">41. Navigate to "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies" and repeat steps 38-40</li>
                        <li class="ms-Callout-subText">42. Close the "Registry Editor" window </li>
                        <li class="ms-Callout-subText">43. Restart remote computer</li>
                    </ul>
                   
                </div>
            </div>
        </div>
    </div>

</body>
</html>